package cn.bsuc.crm.mapper;

import cn.bsuc.crm.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhuoyuan
 * @since 2022-10-03
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    int insertModuleIdByRoleId(@Param("roleId") Integer roleId, @Param("moduleIds") Integer[] moduleIds);

}
